package rest.entity;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement
public class Member {
//    public Member() {
//    }
//    public Member(String id,String name ){
//        userId = id;
//        userName = name;
//    }

    @XmlElement
    private String userId;
    @XmlElement
    private String userName;


    @XmlTransient
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    @XmlTransient
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
